<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>致谢 / Credits - 阿里宝宝电商平台</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #000;
            color: #fff;
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        .credits-container {
            text-align: center;
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            padding: 50px 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
        }

        .credits-title {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #ff6b35;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .credits-content {
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .chinese-text {
            margin-bottom: 1.5rem;
        }

        .english-text {
            font-style: italic;
            opacity: 0.9;
        }

        .team-members {
            font-weight: bold;
            color: #ff6b35;
        }

        .back-button {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 1.1rem;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin-top: 2rem;
        }

        .back-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
        }

        .back-button:active {
            transform: translateY(0);
        }

        /* 滚动指示器 */
        .scroll-indicator {
            position: fixed;
            top: 50%;
            right: 30px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 1000;
        }

        .scroll-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.3);
            margin: 8px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-dot.active {
            background-color: #ff6b35;
            transform: scale(1.2);
        }

        .scroll-dot:hover {
            background-color: rgba(255, 107, 53, 0.7);
        }

        /* 退出按钮 */
        .exit-button {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .exit-button:hover {
            background: rgba(255, 107, 53, 0.8);
            border-color: #ff6b35;
            transform: scale(1.1);
        }

        /* 滚动提示 */
        .scroll-hint {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            animation: bounce 2s infinite;
            z-index: 1000;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        .fade-in {
            animation: fadeIn 2s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 新增样式 */
        .credits-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 0;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: #ff6b35;
            text-align: center;
        }

        .subtitle {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            text-align: center;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin: 2rem 0;
        }

        .team-member {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px 20px;
            border-radius: 15px;
            border: 1px solid rgba(255, 107, 53, 0.3);
            text-align: center;
            transition: all 0.3s ease;
        }

        .team-member:hover {
            background: rgba(255, 107, 53, 0.1);
            border-color: #ff6b35;
            transform: translateY(-5px);
        }

        .member-name {
            font-size: 1.8rem;
            font-weight: bold;
            color: #ff6b35;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .closing-text, .closing-text-en {
            font-size: 1.1rem;
            margin: 1rem 0;
            text-align: center;
        }

        .closing-text-en {
            font-style: italic;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .credits-title {
                font-size: 2rem;
            }
            
            .credits-content {
                font-size: 1rem;
            }

            .scroll-indicator {
                right: 15px;
            }

            .exit-button {
                top: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }
    </style>
</head>
<body>
    <!-- 退出按钮 -->
    <div class="exit-button" onclick="exitPage()" title="退出 / Exit">×</div>
    
    <!-- 滚动指示器 -->
    <div class="scroll-indicator">
        <div class="scroll-dot active" onclick="scrollToSection(0)"></div>
        <div class="scroll-dot" onclick="scrollToSection(1)"></div>
        <div class="scroll-dot" onclick="scrollToSection(2)"></div>
        <div class="scroll-dot" onclick="scrollToSection(3)"></div>
    </div>
    
    <!-- 滚动提示 -->
    <div class="scroll-hint">滚动查看 / Scroll to explore</div>

    <!-- 第一部分：致谢标题 -->
    <section class="credits-section" id="section-0">
        <div class="credits-container fade-in">
            <h1 class="credits-title">致谢 / Credits</h1>
            <p class="subtitle">感谢所有为这个项目付出努力的团队成员</p>
        </div>
    </section>

    <!-- 第二部分：团队成员 -->
    <section class="credits-section" id="section-1">
        <div class="credits-container">
            <h2 class="section-title">开发团队 / Development Team</h2>
            <div class="team-grid">
                <div class="team-member">
                    <div class="member-name">Francious</div>
                </div>
                <div class="team-member">
                    <div class="member-name">Jason</div>
                </div>
                <div class="team-member">
                    <div class="member-name">Mike</div>
                </div>
                <div class="team-member">
                    <div class="member-name">Sakura</div>
                </div>
            </div>
        </div>
    </section>

    <!-- 第三部分：致谢内容 -->
    <section class="credits-section" id="section-2">
        <div class="credits-container">
            <h2 class="section-title">致谢词 / Acknowledgments</h2>
            <div class="credits-content">
                <div class="chinese-text">
                    向这个网站（阿里宝宝）的制作者们：<span class="team-members">Francious</span>、<span class="team-members">Jason</span>、<span class="team-members">Mike</span>、<span class="team-members">Sakura</span>致谢
                </div>
                
                <div class="english-text">
                    To the development team of the "Alibaby" website: <span class="team-members">Mike</span>, <span class="team-members">Donk</span>, <span class="team-members">Jason</span>, and <span class="team-members">Sakura</span>. We sincerely thank you all for your professional dedication and hard work in the process of website design, development, and optimization. It is your collaboration and craftsmanship that have laid a solid foundation for the successful launch and efficient operation of the "Alibaby" website.
                </div>
            </div>
        </div>
    </section>

    <!-- 第四部分：返回按钮 -->
    <section class="credits-section" id="section-3">
        <div class="credits-container">
            <h2 class="section-title">感谢您的访问 / Thank You for Visiting</h2>
            <p class="closing-text">希望您喜欢我们的网站，期待您的再次光临！</p>
            <p class="closing-text-en">We hope you enjoy our website and look forward to your next visit!</p>
            <a href="javascript:history.back()" class="back-button">返回 / Back</a>
        </div>
    </section>

    <script>
        let currentSection = 0;
        const totalSections = 4;

        // 页面加载效果
        document.addEventListener('DOMContentLoaded', function() {
            // 初始化滚动指示器
            updateScrollIndicator();
            
            // 添加滚动监听
            window.addEventListener('scroll', handleScroll);
            
            // 添加键盘支持
            document.addEventListener('keydown', handleKeyPress);
            
            // 添加触摸支持
            let startY = 0;
            document.addEventListener('touchstart', function(e) {
                startY = e.touches[0].clientY;
            });
            
            document.addEventListener('touchend', function(e) {
                const endY = e.changedTouches[0].clientY;
                const diff = startY - endY;
                
                if (Math.abs(diff) > 50) {
                    if (diff > 0) {
                        // 向上滑动
                        nextSection();
                    } else {
                        // 向下滑动
                        prevSection();
                    }
                }
            });
        });

        // 滚动到指定部分
        function scrollToSection(sectionIndex) {
            const section = document.getElementById(`section-${sectionIndex}`);
            if (section) {
                section.scrollIntoView({ 
                    behavior: 'smooth',
                    block: 'start'
                });
                currentSection = sectionIndex;
                updateScrollIndicator();
            }
        }

        // 下一部分
        function nextSection() {
            if (currentSection < totalSections - 1) {
                scrollToSection(currentSection + 1);
            }
        }

        // 上一部分
        function prevSection() {
            if (currentSection > 0) {
                scrollToSection(currentSection - 1);
            }
        }

        // 处理滚动事件
        function handleScroll() {
            const sections = document.querySelectorAll('.credits-section');
            const scrollTop = window.pageYOffset;
            
            sections.forEach((section, index) => {
                const sectionTop = section.offsetTop;
                const sectionHeight = section.offsetHeight;
                
                if (scrollTop >= sectionTop - window.innerHeight / 2 && 
                    scrollTop < sectionTop + sectionHeight - window.innerHeight / 2) {
                    currentSection = index;
                    updateScrollIndicator();
                }
            });
        }

        // 更新滚动指示器
        function updateScrollIndicator() {
            const dots = document.querySelectorAll('.scroll-dot');
            dots.forEach((dot, index) => {
                dot.classList.toggle('active', index === currentSection);
            });
        }

        // 处理键盘事件
        function handleKeyPress(e) {
            switch(e.key) {
                case 'Escape':
                case 'Backspace':
                    exitPage();
                    break;
                case 'ArrowDown':
                case 'PageDown':
                case ' ':
                    e.preventDefault();
                    nextSection();
                    break;
                case 'ArrowUp':
                case 'PageUp':
                    e.preventDefault();
                    prevSection();
                    break;
                case 'Home':
                    e.preventDefault();
                    scrollToSection(0);
                    break;
                case 'End':
                    e.preventDefault();
                    scrollToSection(totalSections - 1);
                    break;
            }
        }

        // 退出页面
        function exitPage() {
            // 添加退出动画
            document.body.style.transition = 'opacity 0.5s ease';
            document.body.style.opacity = '0';
            
            setTimeout(() => {
                history.back();
            }, 500);
        }

        // 鼠标滚轮支持
        let isScrolling = false;
        window.addEventListener('wheel', function(e) {
            if (isScrolling) return;
            
            isScrolling = true;
            setTimeout(() => {
                isScrolling = false;
            }, 1000);
            
            if (e.deltaY > 0) {
                nextSection();
            } else {
                prevSection();
            }
        }, { passive: false });
    </script>
</body>
</html>
